windows type-piping doesn't work. I don't want to complicate this code section much further (that is, file handle only open on windows if thats the inevitable endpoint) unless its shown to be a bottleneck. If there's a simple way to do it through piped append on windows, we'll use that.