No, it's not the responsibility of the File object to know whether or not the quote characters should be there. If you're parsing user input as a filename then that's the point at which you'd want to remove quotes (if appropriate)

Then you need to fix ChildProcess::ActiveProcess() to handle that the file path may be quoted to contain spaces in the path. There’s more to change than just the above – but I’m still figuring out the rest.