Writes these pixels to path as a PNG file, whole or not at all (its folder made when missing).
path
Future<void> writePng(String path) async => ProjectFiles.writeBytes(path, await png());