append explicit index.html's to links to support file:// protocol