Reduce memory usage when backing up many small files

Closes #69.