Fix nested .aux files (e.g. with import package)