Fix configdrive file generatation.

Change-Id: I0709550682d2975e14efb01863cf98c6abfd9683