Move lock_path into quantum.pp.