A Python port of daemontools' envdir.