csvtoxml fixes
handle files without terminating newline