fix empty directory treatment.
Merge branch 'master' of https://github.com/tsuyukimakoto/oozappa