Wrap map function in a list so file.append will work

`file.append` broke with the `six` changes. This change will fix it by returning a list instead of an iterator from `_unify_sources_and_hashes`.