Escape spaces in file path

If you call riv#publish#file2 on a file with spaces in its name, Firefox gets confused and tries to open up each bit of the path. This occurs because the path is not escaped before passed to Firefox, and this simple substitution alleviates the issue.