check for existence of directory before trying to get files from it

this should fix #18
better to use file-accessible-directory-p instead of file-directory-p
provide safe version of directory-files

this should fix #14