Rework to clean up .uuid file

Cleaning it up too when removing unnecessary cache files

This way won't work in case cache files are missing. still may need
another way to clean up completely perhaps.

UUID files should be moved away onto other places like cache directories
in the future perhaps.
2 jobs for uuid-cleanup-rework in 8 minutes and 8 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Build
passed #36672
shared-build

00:08:08

passed #36673
static-build

00:07:26