Stop chaining dictionary function calls.

This fixes #10 and fixes #11. Apparently some version of Vim don't like the
notation a.b().c() very much. Break up the chain by introducing a temp var