added file encoding, docstring, assert msgs and tempfile usages
added file encoding, docstring, assert msgs and tempfile usages

I used `uuid` originally to match more closely with the original tip and I did not know about `'tempfile` @Dude-X, does this work better?
tjmaher/elemental-selenium-tips,tourdedave/elemental-selenium-tips,tourdedave/elemental-selenium-tips,tjmaher/elemental-selenium-tips,tjmaher/elemental-selenium-tips,tjmaher/elemental-selenium-tips,tjmaher/elemental-selenium-tips,tourdedave/elemental-selenium-tips,tourdedave/elemental-selenium-tips,tourdedave/elemental-selenium-tips,tourdedave/elemental-selenium-tips,tjmaher/elemental-selenium-tips