Storage file rotate fix