fix double newlines breaking batch script