Change to current directory inside jail.

    Running 'realpath .' yields "(unreachable)/path", so we change
    to the cwd path inside the jail to make the path reachable.