Use bytestrings when looking for files in git repositories