Add Pathname#chdir

Change current working directory of the process to the given path

See Dir.chdir