Fix sourceFiles collection time for generated files.