Use the correct filesystem object when dumping sitemap to files.