Overwriting file with Dropbox API
===

I'm having trouble implementing a dropbox backup to my app. I wan't the every next backup to overwrite previous one. 

I tried this first:

    newEntry = mDBApi.putFile("/file.bak", inputStream, file.length(), null, null);

It was creating test.bak and then test.bak(1) test.bak(2) and so on...

then I tried to save the revision id of the first file, and then pass it to every upload.

    newEntry = mDBApi.putFile("/file.bak", inputStream, file.length(), revision, null);

I get file.bak and then file.bak (conflicted copy.... ) and so on

What am I doing wrong? Dropbox documentation says that the conflicted copy appears when 2 users try to upload the same file on the same time, but it's not happening right here