A fix for issue #2

updated index.js: sanitize all string inputs (replacing ' ' with '\0').
updated run.js: replaced all '\0' characters with ' ' (un-sanitizing the
paths)