Fixed bug in cat.sh

- filenames with spaces weren't passed correctly to underlying commands,
  this has been fixed