fixed #5
When upload a file already exists, the old one will be renamed