Ensure that there is a trailing / when assets path match an index file.

Closes #200.