Refactor band iteration to prepare for zero-copy implementation
Refactor band iteration to prepare for zero-copy implementation

The goal is to share the logic of iterating the bands, and only have
each mode implement the actual read and zero-padding operations.

torarnv/sparsebundlefs,torarnv/sparsebundlefs