add AR hooks to Delayed::Job to calculate the md5 checksum before saving