resolving findbugs issue: use %n instead of \n to use platform-specific line endings