Various changes to get specs to pass on windows

* Fixed up cli_specs (there were some system dependent function calls that needed to be stubbed)
* Cookbook profiler git_specs needed some modifications to get them to work with cmd.exe (' -> ")
* Policy store_config_specs used File.expand_path, which is system dependent
* Comparing their SHAs was broken because windows decides to do magic unless you give it the b mode when writing files

cc @btm @danielsdeleo @adamedx 
Let's add some comments here for why choosing this mode by default.