Buffer

Determining if a directory exists uses the "change directory" command. This is more accurate than the previous method -- which could potentially be incorrect in certain conditions (ie. if the folder is empty).