Remove unnecessary chdir() in the shutdown handler.
Add changelog entry for #2633.