Proposed solution for #814

By not passing the output file to `knit` it should use the default
location for which the relative path to the images should be ok.
Merge pull request #826 from gdetrez/#814

Proposed solution for #814

[ci skip]