fixed typo in Dir.chdir in installer