fix guessing CSSS mimetype when uploading