set content_type on uploaded files