Mimetype fixes and improvements in prov-interop