Fix crash when serving static file on Node 0.10.x