Fix #14: Fix line terminators and new lines in `getPluginScript`