Allow setting of sort_by and static mime type as params for render_autoindex