Fix a pending test (only supports >  1.9.3)

Can just write to the file with one method. Otherwise, the stubbing gets crazy.