[CentOS] Perl CGI scripts - stripping out unwanted carriage returns etc