It's not a bug on WinSCP side. But as it's a major server, and I doubt they will fix it, we might implement a workaround, if there's enough demand.
You can vote for it here:
https://winscp.net/tracker/1824
You can vote for it here:
https://winscp.net/tracker/1824