Fix minor issue with build_sphinx on Windows

In general when generating Python source code like this one should use the `repr` format of a string rather than try to manually enclose it in quotes--this way any escaping is handled properly.