Issue #1921558 by ParisLiakos, xjm, Dave Reid: Convert file_get_mimetype() to use Symfony MimeTypeGuessers.