Added regex to XML escape &'s.

Added check for folder.jpg since this is still in spec for XBMC.