more correct cursor handling on windows
report files locked by other processes