Add some tests for encoding issues in binary paths

This reproduces the issue described in https://github.com/jackalope/jackalope/issues/249