fixes issue 167 and replaces pull 168 made by @gardner

gardner's pull request was made against master and should have been
made against 0.9.x branch

https://github.com/calabash/calabash-ios/pull/168
Merge pull request #178 from jmoody/0.9.x-issue-167-replaces-pull-168

record_end now accepts names with spaces