Change sed to node streams to replace missing lib occurences