respect block size in checksum functions
add checksum directory config option