Fix `writeGoldFile` type signature
Update gold files