document_end
change line delimeters to UNIX style