Could you move this into `lib/bencode/parse_io.rb`?