fix outfile in apps.grid.run