So, it was Pawbert that set fire on the room's fireplace to ensure Gary would have a warm room to do what he had to do and get the book!
And it explains how Pawbert knew exactly the room he would be at to get him afterwards, and why it's door was open even with no one there.