Fix subbing similar path names while generating sprite map