Actually write a file when using cd_icc_save_default()
trivial: Fix three tiny memory leaks when emitting PropertiesChanged
Use __attribute__(cleanup) to simplify memory cleanup