Do not crash if Android doesn't know the mimetype of the file