Made local file transfers work also on Windows