TST/BUG/CLN: make stata IO tests use temporary files for writing
Merge pull request #4356 from cpcloud/fix-stata-testing

TST/BUG/CLN: make stata IO tests use temporary files for writing