added rpc command to save files with desired root name

Please consider merging, changing names for different scanned objects can be very useful :)
Why did you change the name of this parameter?
I'd go for the previous one for sure. Changing names is likely to break back-compatibility with files left around :)
@tanismar, please revise this point