Better error handling on execl