retire write_pv() and cleanup (6773041)