fixed filesystem driver to use mime resolver correctly