make directory first, needed for lock file