Use write and read/write file modes.

Use write file modes to create new files and read/write to allow for
overwriting previous footers.

Closes #214.
See #213.