strncat error corrected for fileinfo