Added withTimeIndex parameter to klpfile.write().
Updated .gitignore.