Fix for bug 907372 (snapshot restore) + 907426 (jenkins build)

Bug 907372 - [US3327]Meet error "could not create 'YourAppName.egg-info': Permission denied" when snapshot restored for python-2.7/python-3.3 apps
Bug 907426 - [US3327]Jenkins build failed for python-2.7/python-3.3 apps