acu81706 fix for warning printed by calling Dir.chdir within a chdir block