[PATCH v2 6/7] tools/power: fix Python string escapes