#267 factor out petl.transform.headers