Use ext/promise, default to false for file overwriting