Fixed generating postinst.in and postrm.in files