content_type is determined by libmagic only if it cannot be determined by extension