Implement put_archive and put_file for the local provider.