Fix crasher on send_file 404/403/500