Fixed python bencode testing.

A newline at the end of the test file would cause the Python test to
fail. The python script now does rstrip() on the input string before
comparing.
Racket bencode decoder works.