It might be clearer if it said that it couldn't write the header.