Don't force file extensions

Remove the code that forces a file extension on api-docs (Swagger spec
seems to say that it should be called just "api-docs").
Remove the code that forces a file extension on other content.