Distributed solar company Vivint Solar has closed a $200 million term facility to help its expansion across the US.