Fix uninformative hp2ps error when the cmdline contains double quotes
Reapply D5346 with fix incompatible shell quoting in tests. It seems
like $'string' is not recognized under all test environments, so let's
avoid it in tests.
hp2ps: "T15904".hp, line 2: integer must follow identifier
use new ghc and hp2ps to profile a simple program.
Reviewers: simonmar, bgamari, erikd, tdammers
Reviewed By: bgamari
Subscribers: tdammers, carter, rwbarton
GHC Trac Issues: Trac #15904
Differential Revision: https://phabricator.haskell.org/D5388