fix unicode repr under python3
closes #4