TRQ-1512. Fix an error with the symlink buffer not getting correctly terminated in chk_file_sec().