move dotlocking code to dotlock.c. dotlocking code fixed to ignore whether or not the lockfile exists on open(). we only care about whether fcntl() was able to lock it.