# Functions
MarshalItemToFile marshals item to file.
MarshalOutput marshal output to given writer.
UnMarshalItemFromFile unmarshals item from file.
WriteResources takes a prefix path, and a map of paths to values, and will marshal the values to the filenames as YAML resources, joining the prefix to the filenames before writing.