Tools: DFG: Fix avr writer pin-count.
Add method to select bit fields using a RE pattern.
Write generated device files directly into the right folder.