Fix a unit test.
Make bittorrent utility return native strings instead of byte strings.
fix #2428