Fix potential \r in Windows target/repl-port file