Also optimize case when bootstrapping from XAR files
by only performing calculations inside XAR stream wrapper's
open() call once instead of on every stream stat operation