Ensures KLog's basic logger is properly cleaned up and disposed

* Implements the dispose method to properly close the file and prevent it
  being locked.