Change directory before running .tex.proc commands

This is also necessary to provide root-directory independence for
these sorts of commands.