Fix bug with single quotes in command line.