Wrap {filedir} and {imgdir} in <code>

Addresses https://github.com/textpattern/textpacks/issues/37
Merge pull request #38 from petecooper/master

Wrap {filedir} and {imgdir} in <code>

Closes #37, closes #39