Explicitly creating tmp directory when checking MD5 sums