Guess content_type from file