Remove unnecessary dependency on `mime`