I could do this for you .... nb: the src tree structure would probably have to be flattened out (i.e. changed) quite a bit.
I do like the tree structure. I do undertand that doesn't work very well for make files, though you can use bash to copy the files into a temporary directory, no?
Python was the easiest way for me at the moment. Feel free to play with it.
It hasn't got anything to do with private keys. It's to do with the address manager where the security is not that critical.
Good to know.