Check for mime type = "" *AFTER* we do the guessMIMEType. Hence "Metadata.ContentType=" => don't guess, just assign no mime type (equivalent to application/octet-stream in theory, whether it is in practice is a question of bugs).