Remove duplicate writeAssetToSdcardFile

Remove duplicate writeAssetToSdcardFile(), which exists on line 367 as well.