Make `fix_headers.py` script compatible with Python 3.
This adds support for groups in the import system, which point to a single file. Add property hint for saving files in file field