modify spawn test for windows newlines

happens if you haven't done make dist yet, otherwise would use msysgit's sort