Fix for rewritten method of writing out extrafanart where an extrafanart
folder was being created even if there were no extrafanart files. Fix
for null pointer error when writing out metadata of file with no
posters.