fixed issue with iptables not restoring because output had no new line at the end