make restore task warn for locked files