Refine managed sources for source file tasks

Append to rather than replace managedSourceDirectories and managedSources.

Allows `sourceGenerators in Assets` to be used (along with an earlier change that included managedSources as sources).