Patch file_entity to support Page Manager