compress: use compressible
directory: add test for URL-looking dir names

closes #976