Added renderFile function as implemented by cjoudrey to enable express 3.x support