add missing export declaration for spewfile()