Small fixes. Lower memory consumption by not using dict to store dev:inode data, use an list instead. Don't store the hashlib objects in the files dictionary as this takes too much memory. Calculate hashes for chunks only. Add pruning directory option.