Add support for changing process’ working directory.