Implement AOF persistence