shortens length of filename sent to cache so we don't hit OS errors.