Support Python 2.5

- remove b'' notation and use encode method
- remove relpath method
Merge pull request #3 from unnonouno/for-python2.5

Support Python 2.5