Various fixes.

 - Remove deprecated logging code
 - Simpler return dict from process_rawfile
 - Make default working dir '/tmp'

(for temporary files)