write out photo info to a yml file