Close wrapping streams instead of underlying ones

In original code, loadModorder and saveModorder close the underlying
streams instead of the wrapping ones. Not sure if it makes any
difference at all, though.