Crack tip cavitation in metallic glasses