Make sure that cronfiles are also filtered with expandproperties if run under sudo

We noticed that cronfiles copied using the sudo method were not replace (which is rather logical).

This way they are first copied to a temporary directory in order to replace the variables in the files, then copied from there to the cron directory under sudo user.

@ngroot :)
Why so difficult? Can't the files be expanded in place... and then copied over?