apparently vim will expand percent to filename when reading shell output into a file.