fixed method saveTo and other things
fixed method saveTo and other things

change visibility of method generateFileFromhash from public to protected,
it's make more sense, because this method only is used internally. 
Other thing fixed is about method saveTo, now, get from cache before render and copy to destination argument given. 

Sry about my english.
jsmunich/Tex2png,Gregwar/Tex2png