Hello StijnNevens,
Does it also happen if you use the path related to the different directory, for example, in C:/Windows/Temp/ ?
Also do you have any backup, synchronization or file indexing utility running in the background, which may access/open newly created files and archives?