Reuse mime_guess+list_guess functions from action.heuristic_funcs