Fixed #11 so that when a file with the same name is uploaded there is no...

If a user used to upload a file with an already existing filename it would create a 500 error. This was solved by saving the in memory file as soon as we get it into django. Like this django appends a number and it all works ok.