Store mime type xattr user.mime_type (closes #1)

In stead of guessing and using a file extension in the filebucket,
store the detected mime type in the extended attribute user.mime_type.