Stop generating random files for IJavaScript Strings

In autobuild scenarios under Node.js the old behavior polluted the
output directory with random files. Instead construct a stable name
from the first 7 letters of the SHA-1 of the string.