Restore: handle restoring files with whitespaces. Refs #2643