Refactored `guess-mime` to `mime` module