[Bug 6400] New: Phantomtest records scripts with too many line breaks