Ignore entries if they are directories.
Fix tests that fail due to having a directory that looks like a post
Merge pull request #875 from mojombo/posts-cant-be-dirs

Directories with valid post names should be filtered out