[wc] fixed issue where wc was incorrectly reporting word counts for lines with Windows-style line endings(\r\n)