write abstract method
Writes bytes to path, creating parent folders.
Replaces an existing file atomically: a reader sees the old contents
or the new ones, never a mix. With append, adds to the end instead.
Implementation
Future<void> write(String path, List<int> bytes, {bool append = false});