Fix uploadFile capabilities