use md5sum to check if a file actually changed