spawn: make the argument to -l optional
spawn: enable locking if given only -L
spawn: do not put 'shared' in global locks
spawn: put lockfiles in a separate directory
spawn: steal mkdir_p() from systemd
move mkdir_p to util.c