prints an hieradata file to an iostream
write a file and returns the number of bytes written
[Validate]