Ingest: create writable directory for the lock file