wipe out CRLF in filename buffer