return ok bool instead of error bool

fixed #22 

`writePipe` was returning whether or not an error occurred, so the bool represented an error. But in the Migrate commands it was set to an `ok` variable. Which was the opposite of what was returned. I flipped the return on `writePipe` so it now returns a bool representing "ok".