Fix for the xcrun commands and dirs with spaces

This looks like it was introduced in b32cae7.

Fixes #1226
Fix escaping
Fix specs
Merge pull request #1227 from CocoaPods/gf-fix-spaces

Fix for the xcrun commands and dirs with spaces