Fix `write` parameter name inconsistency

Use `moduleName` consistently in `write` docs

CLA is on-file under username `duncanbeevers`