fix content type for uploaded files