also rename file when it has not been present before
check Content-Length to detect aborted uploads