handle 'bare' directories by adding index.html