Don't save empty buffers

There is no reason to save buffers with no commands