pass file encoding through to sweave and knitr (>= 1.0)