Escape spaces in file path so firefox opens files with spaces in names correctly