Fix for miscellaneous issues

Fix for miscellaneous issues caused due to invalid type cast,
file/directory not exists and invalid characters in file.
Also, revved up the version number