main: move olsr_create_lock_file into its own file