Fixed two bugs when recovering from local directory to local directory.

- Added filename extractor that is provider dependent (s3 path use slash and local windows paths use back slash).
- Fixed local file system provider copy to local method.