fix bugs: support start master at 127.0.0.1; fix zipfile.ZipFile not support with statement on Python2.6