fixing POpen::ReadIntoFile for windows