mimetypes provides a library for guessing MIME type by file
extension based on the platform.  On Windows it will search the
registry.  Otherwise, it will search for one of the known locations
that a mime.types file may exist and utilize it.