Rewrite print_file_vars such that it does not modify its
argument string. Remove an unneeded strdup.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14638 a5019735-40e9-0310-863c-91ae7b9d1cf9