Carefully check return value of "PyUnicode_AsUTF8"