Fix for ios-genpol where last lines of a policy wouldn't print