Redis: Double check if $cache_lock_path exists before using it.