Fix #148

Take @domenic's advice and use the Operating System's temporary
directory
Rev version