Update I/O routines to reflect new Dimension initialization syntax.

See #486.