Use local paths, g prefix for mktemp, and full arguments for iconv