index.js :: call done if our queue is empty
index.js :: call done() if we've flushed _everything_

Before this change, if the queue was divisible by the queue size the
transform would never complete.