Default extension

Add a `defaultExtension` setting for the directory route handler