Replace CR LF pairs in string with just LF (because input files are opened in binary and stdout is opened as text, otherwise on Windows we get two line breaks with CR CR LF).
Added support for ack-like line number coloring and --color-lineno option (defaults to grey as before).
Fix ignore_dirs test to use correct os.sep so test is correct on Windows.