Add overwrite option to upload()