WINDOWS: make env.jl and file.jl unicode-compliant for #4240