Add overwrite flag when uploading files