Fix yaml loader module import path
Fix python 3.3 compatiblity