Use an empty string to if str was NULL.

I fixed 'cachedFileNameForKey:' on SDImageCache.m.
Because seg fault happened on strlen when 'key' is nil.