Added missing line terminators in distribution cache files

Also, don't abort if we can't read the cache; just log and continue.