Neat pick: you can do following (http://ralsina.me/weblog/posts/BB963.html):
```
def __init__(self, port_num=0):
    with os.chdir('/'):
        StubHttpService.__init__(self, port_num=port_num)
```