Fixing broken wiring helpers.

As noted in #174, the arguments are reversed for `wiring.appendToFile` and `wiring.prependToFile`.