Allow moving DataInput / DataOutput as long as they do not leave their original container. Related to #951