Use unix file instead of python module mimetype