Fix filter bug

S3 prefixes were not being taken into account when determining the root
directory.
Update changelog
Merge pull request #993 from kyleknap/filters

Fix filter bug