Guessing Mimetype and ACL by extension when uploading