Windows sinkFileNoHandle fixes