This commit fixes an issue in the DataBufferUtils.write variant that takes a AsynchronousFileChannel. Issue: SPR-15798