Refractor the script to work in both python2 and python3
Refractor the script to work in both python2 and python3

Signed-off-by: Roy Yang <e7fbf9de90cb0f5fc25efbeea17fe6b4fe03a704@google.com>

containerd/containerd,vdemeester/containerd,vdemeester/containerd,dmcgowan/containerd,mikebrow/containerd,estesp/containerd,mikebrow/containerd,estesp/containerd,containerd/containerd,dmcgowan/containerd,thaJeztah/containerd,thaJeztah/containerd