Implement a basic replay uploader

Checks the SHA1 hash of the replay contents to prevent saving duplicate
replays.