Fix bug in render.serveFile