Fix issue with escaping spaces

Without the quotes the arguments are split at spaces which will do the wrong thing for instance for file names with spaces in them.