added support for supplying path extensions

for example, a request to /hello should try /hello.html if file hello
doesn’t exist.