Using temp file methods from file-temp to address issue #37