Fiexed fwrite() Open SSL bug