Fix for #21 (extra newline on EOF)