Test exe existence check

See recent bug on Windows.
Rename one of test files to match main function
Add two unit tests for read_file_lines
Fix issues with reading files on Windows

Always open files as binary files to ensure that their content
won't be treated in any special way.

Thanks to Robert Sarkozi.
Merge branch 'add-test-for-win-exe-extensions-bug'