Closes #1536 Unicode decode error while indexing a file through UI HACK (Postponing the testing work)