@Override
	public void write(@Nonnull byte[] bytes) throws IOException {
		if (firstSingleWrite) {
			Files.write(path, bytes);
			firstSingleWrite = false;
		} else {
			Files.write(path, bytes, StandardOpenOption.APPEND);
		}
	}
@param path
		Path to write to.
recaf-core/src/main/java/software/coley/recaf/services/workspace/io/PathWorkspaceExportConsumer.java