consistent "\n" usage in valve files

Added "\n" to valve output of demo program so it is
consistent with the others.