Revert behaviour -- buffer_ensure_capacity() adds +1 for null byte