swcConvert: fix cross-platform newlines