Write bat proxy with Windows line endings