Fix saving EPS to open file objects on Python 2.x

Fix issue #470 and #479
enable eps test in test_imagefile, test passes
Fix hang by using temp file and command line args instead of stdin
Merge pull request #506 from wiredfool/eps_save

EPS save cleanup