Get the absolute path to the chain's indexing lockfile

def get_lockfile_filename(impl, working_dir):
    """
    Get the absolute path to the chain's indexing lockfile
    """
    lockfile_name = impl.get_virtual_chain_name() + ".lock"
    return os.path.join(working_dir, lockfile_name)