Fracture through cavitation in a metallic glass