Added new function to allow you to fetch using temp tables

Also update .gitattributes based on
https://help.github.com/articles/dealing-with-line-endings to try and
finally fix these EOL problems