Delete old files when uploading new

Now, uploading a file for staff/student will check if a file exists
already, if it does, it will be deleted.  Fixes #26