Fixed two storage bugs.

SelfEncryptor flush is now a no-op, so drive has to close the
SelfEncryptor to force storage. While writing tests to verify, another
storage issue was fixed that occured on shutdown. Drive now forces
storage on shutdown.