Use FileContext when evaluating $vp{rtd} variables (fixes #949).

Just using a ModuleContext causes any used libraries to be unavailable.