b2g-info: Cache PAGE_SIZE.
b2g-info: Fix bug in safe_opendir -- now it's actually safe.