python/numpy: Make fill_numpy_header return its outputs