override mimetype trick to try and get binary data