sas.get: added defaultencoding argument and logic (Thanks: Reinhold Koch)