restore-file: remove leading slash if needed. Refs #2749