A document shows racist language was used to describe sub-postmasters being wrongly investigated.