Fixed extensions in atom and kml links; added atom mime type; caught for...

...mat error