Refactoring: #each_part in MockObject.

@bytes => @bytes_used in MockObject as well, for consistency with
MockContainer.