Fixed bug in saving md5 in file.