LS now handles directories that don't exist

Still crashes when passed a path directly to a file. Not sure how
important it is to fix, but any input helps.