Changed code to use vim_get_func('fnameescape').

Previous version had problems with paths containing backslashes and/or double 
quotes.