Changed Publication Error to use system independent newline

Previously the string just used "\n". Now it makes a message that is appropriate for Windows environments. Compatible with Java 6.