Escape arbitrary strings for safe use as command line arguments.
