maybe #23 shows how one might move annoying platform incompatibilities into python (in this case http://docs.python.org/2/library/tempfile.html#tempfile.mkstemp)