Magnetic domain structures in deformed and undeformed foils of a metallic glass