escape % for all vfs resolveFile calls

fixes case where a % in the path results in a vfs error since vfs treats
all paths as a url (where a % is the start of an escape sequence).