ctrtool: updated exheader/ncch/exefs code

Fixed unnecessary string related code. Corrected system saveid check.
Other misc changes.