finally got lineinfile to play nice