Changing aclgen to have have a specific function for writing to files. This will help abstract this logic for testing purposes.
Changing aclgen to have have a specific function for writing to files. This will help abstract this logic for testing purposes.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=166223028

google/capirca,google/capirca,google/capirca,google/capirca