Changed handle->filename to handle->path as the definition changed
in the 0.11 releases.
Fixed syntax errors