Fix for off-by-one wide-character filename manipulation bug
Fix for off-by-one wide-character filename manipulation bug

SuperStarPL/sdk,PatrickJBaird/sdk,wizzard/sdk,18671178307/sdk,sergiohs84/sdk,Alexx99/sdk,BlackFired/sdk,jedisct1/sdk,SuperStarPL/sdk,18671178307/sdk,sergiohs84/sdk,Sisky/sdk,PatrickJBaird/sdk,Sisky/sdk,Acidburn0zzz/sdk,sergiohs84/sdk,sergiohs84/sdk,Novo1987/sdk,jedisct1/sdk,18671178307/sdk,sergiohs84/sdk,javiserrano/sdk,wizzard/sdk,BiuroCo/mega,Novo1987/sdk,meganz/sdk,jedisct1/sdk,Acidburn0zzz/sdk,sergiohs84/sdk,18671178307/sdk,PatrickJBaird/sdk,javiserrano/sdk,jedisct1/sdk,Novo1987/sdk,18671178307/sdk,Novo1987/sdk,Alexx99/sdk,Acidburn0zzz/sdk,thedebian/sdk,javiserrano/sdk,Sisky/sdk,meganz/sdk,wizzard/sdk,jedisct1/sdk,meganz/sdk,sergiohs84/sdk,javiserrano/sdk,18671178307/sdk,BlackFired/sdk,Alexx99/sdk,javiserrano/sdk,SuperStarPL/sdk,wizzard/sdk,meganz/sdk,jedisct1/sdk,sergiohs84/sdk,Acidburn0zzz/sdk,BlackFired/sdk,Novo1987/sdk,Acidburn0zzz/sdk,javiserrano/sdk,Alexx99/sdk,jedisct1/sdk,PatrickJBaird/sdk,PatrickJBaird/sdk,BiuroCo/mega,BiuroCo/mega,18671178307/sdk,Acidburn0zzz/sdk,Novo1987/sdk,Alexx99/sdk,thedebian/sdk,BiuroCo/mega,BlackFired/sdk,Acidburn0zzz/sdk,jedisct1/sdk,SuperStarPL/sdk,18671178307/sdk,meganz/sdk,SuperStarPL/sdk,Novo1987/sdk,Novo1987/sdk,Sisky/sdk,meganz/sdk,thedebian/sdk,thedebian/sdk,Sisky/sdk,BlackFired/sdk,Sisky/sdk,thedebian/sdk,SuperStarPL/sdk,Acidburn0zzz/sdk,BlackFired/sdk,BiuroCo/mega,PatrickJBaird/sdk,BiuroCo/mega,Alexx99/sdk,meganz/sdk,thedebian/sdk