NodeBaseTask - scriptContent is trimmed when written to file.