Making salt.output.key python3 compatible