ChainLoader.WriteChainLibrary(): Writes all the embedded resources contained in ChainLibrary/ to the chain directory on first startup if it doesn't exist.