Previous implementation of `reconstruct_path` was Unix-specific and did not work as intended on Windows. It has now been reworked to operate well enough on all platforms and can work with Windows most importantly.