Of course mimetype doesn't work on Windows..