small fix for python3 compat
another python3 compat fix
Fix python3 issues with bytes literal and missing file