Return {ok, Result} rather than just Result.

https://github.com/erlydtl/erlydtl/issues/121