Make the :fork check on windows more reliable.
Make sure the tempfile exists before closing it.
Merge pull request #1143 from opscode/windows-spec-fixes

Windows Spec Fixes