delegate #to_path to the underlying File