Bug in server/scriptDownloader.js

This appears to have been introduced in the commit converting this script from coffeescript to js.

fs.readFileSync() returns a buffer if no encoding is provided. Either pass an encoding or, as this fix does, call toString(). An error was being created when .replace() was being called on the buffer object at line 56