Go back to takeown.exe and icacls.exe, the new approach does not
seem to work, which causes some of the resources (e.g. cursors) to not be deleted.
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
Some artifacts such as cursors, webview components etc. are
not being removed during builds, leading to increased ISO sizes.
Clean up scratch directory handling and code structure in an attempt
to find the cause.
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>