needed to escape backslash used open nul file in windows