Use -f flag to remove reboot-required file

Otherwise the task will fail on a machine where the file doesn't exist.