Fixup a few string issues when using python3

Signed-off-by: Evan McClain <aeroevan@gmail.com>