ofBuffer: fix iterators to omit last null character. Closes #3225