Updated daemon to use md5+filename for duplicates.