Set real mime type for files