Update to use v0.4.x of optimist

Passes all tests.