fixed restore of files with very long path string