use filelock to instead portalocker, filelock is compatible