add mimetype method to ::FileSys