Fixed getFileContents() to not add an additional CRLF at the end of the
file