Strip newlines from native host output on w32
Convert w32 temp path to long name format