raw.py: replace the 'import *' with explicit names
fix tests on python3.3