Add quotes around the file name to avoid issues with spaces.

Closes #3719.

Ported to 3.0 from r66145.
1 file changed