Add packages/plugin to path so imports work.  Fix encoding issues.