Fix a bug were the content type of the image during uploading was defined as "Calculating block hashes".