Change IFS to newline while swap_array is being populated, then restore it. Fixes #2.