fix locked mimetype to work with device storage