Add index.html postfix automatically to paths ending with a slash