"Atomicity" - upload into a temp file first, then rename
version 0.2 - "atomic" upload