Use generic modules where possible
as recommended by Raphaël Pinson (https://github.com/raphink)
here: https://github.com/smetana/augeas/commit/0cbd6b88e0f1bf2e281fa3ea16803abbf8b3d770