ensure not truncating the name of the newly created file
fixed the st_fetch callback as well