Fix assertion error: sha256sum will escape filenames under certain conditions so we need to unescape them.
Add optimization TODO