Rename `writeFooter4` to `writeFooter`.

See #356.
See #355.
See #107.
See #4.