move tmpfs_snap_dump_file()'s prototype to the right place