Style changes
Move tempfile to top scope in method

Otherwise, its destructor will be called and will delete the file
before we do anything with it
Remove redundant open of file

We don't do anything with the file object anyway
Remove unused variable $dummysub
Update dist.ini
Bump README