http://docs.python.org/2/library/mimetypes.html#mimetypes.guess_type