Making salt/netapi/rest_tornado/saltnado python3 compatible