Added md5 checks to whole-file download tests
Fixed bug in multipart download where local file creation could overwrite other processes initial writes; moved lock to only be used during local write after piece download