Utility functions for classes that use commands to postprocess generator output.
Encodes a string so that it is safe for use as a shell argument
Creates a temporary file and returns its name
Writes the contents of the named file to an IO handle
[Validate]