Update sandbox.py

Added support for setuid.