escape newlines in remind output