[Bug 2554] New: Freopen() fails "invalid argument"