flickrlogger breaks if you're missing a "photos" subdirectory

Make sure all the parent directories exist when we want to save an image

(I think the "photos" subdirectory was missing because I've never added an image into DayOne.)