Replace deprecated mktemp() by mkstemp()
Merge pull request #16 from shuber2/master

Replace deprecated mktemp() by mkstemp()