Pass the xml file name

For saving the imported xml file, pass it to the native side. If dump is
checked, dumpfile name would be passed else xmlfile name would be passed.

Signed-off-by: Venkatesh Shukla <venkatesh.shukla.eee11@iitbhu.ac.in>
Logs are now stored at appropriate location

Logs were not stored earlier because the pointer to it was nonexistent JNI
reference. Changed it by copying the string to a new one.

Signed-off-by: Venkatesh Shukla <venkatesh.shukla.eee11@iitbhu.ac.in>