Moved away from being a resource generator and is now part of compile given that it probably really is a compile.

In addition files of the target folder are ensured to exist.