Allow customizing file mime-type

A new parameter file-mime-type can be used to override system's
default association of file mime types in the file handler.