Just use OS-specific EOL, it simplifies things
Test "directory exists" shortcut in copy task