In the current version of library (2.0.0-canary.20200226.1) option uploadDir in the constructor is ignored. Instead of this option, field this.uploadDir takes value from itself or set default value (temp dir)
this part
and
this part
For now to fix this problem you should set form.uploadDir = 'your path'