CompileEmbeddedResource
(embed, subfolder, extension, fs)
bool
Generic method to compile an embedded resource by creating a child context.
This handles the common pattern of creating a generator, generating a path,
creating a child context, and setting the compiled path.