Fix unlock of allocpage in fileio section of bt_newpage