Map / to index.html
Don't write 500/404 when headers are written already