Fix typo leading to `renderFile` not working with a callback

[closes #1139]
Release 0.34.1