1. fixed issue with storage recovery not setting up log file if there is enough space in it
2. fixed issue with memory access to FileHeader in storage recovery process