Windows fix: cannot call into _build_attr_header, no pwd module