Fix public repository listFiles method that I broke with PR669.

In #669 I broke `PublicRepositoryI.listFiles`. This attempts to fix it. Using the command-line interface to try getting a repository and listing the files would be a good test. @joshmoore will have some thoughts on testing too.