Rescue any SystemCallError from atomic_write
Update xctool to v0.2.1, fixes issue with multiple Xcodes

For more details, see:

https://github.com/Homebrew/homebrew/pull/32428

and

https://github.com/facebook/xctool/releases/tag/v0.2.1
xctool: update 0.2.1 bottle.