Pass connection file as a separate argument

Avoids issues with string literals and trying to process parts of
Windows paths as unicode escapes.

Closes gh-29