Append _to_file suffix to dump functions