Switch to symfony mime type guesser (which does practically the same thing anyways)