Changes reflecting code review by apollo13
- use django test temp dir
- added error message to IOError