fix EJS includes when inPlace is used

When inPlace is used, a different rendering function is used, one that does not set the `filename` attribute.
It causes EJS to fail on includes: `filename option is required for includes`.

This pull request fixes this bug by setting the `filename` attribute when inPlace is used.