Set HTTP error as file error.