Update UploadedFile.class.php

Allows for hash to be stored as BINARY(20) in the database, rather than a VARCHAR(40). The hash in the DB only seems to be used for duplicate checking, and doesn't need to be human readable.