Error handling in the case a directory can not be created.
increament version number