handle 'bare' directories by adding index.html

closes #180