Curl: fail if the file does not exist