fix: show progress for empty files
fix: don't upload chunks on permanent error
fix: don't upload folders
feat: example updated with folder upload button