Mark output folders as "Derived".

Derived folders won't appear in "Open Resource", polluting
names with classfiles.

Fixes #1000260 (which regressed at some point in time).