mkdir will never get an extant path, so we don't need to translate the pg error that would result
file name depends on contents too
block out rename
use when instead of promise
actually delete the source file
really get rid of promise
add md5sum column
add missing function def
rename