Tidy up code

Run through perltidy.  It has been a while :)
Scope UploadHandler

Put our model object in its own lexical scope.  Further refactoring later.
Refactor

Use catdir() instead of splitdir() to remove join.
Refactor, redux

Remove more joins by using interpolation instead.