Fix documentation for Transformer item.

In the code example, we go against our own advice by not closing the
file explicitly.

Change-Id: Ie5995d8ca99f636db822c18d93813cafaaf9f77e
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>