Fixed extensions in atom and kml links; added atom mime type; caught format error