less brittle specs to os-specific line endings

Specs now pass in the vagrant box when running it on Windows:

![image](https://f.cloud.github.com/assets/362783/647562/225a5e22-d409-11e2-831b-412c752fb049.png)