Exporting a figure to a file which name contains a colon fails
Bug Description
Exporting a figure to a file which name contains a colon fails, for example "test : figure title.png"
Steps to reproduce
plot2d
xs2png(0, "test:title.png")
What is the expected correct behavior?
A generated .png file.
Error log
No error but sometimes, a 'ghost' file seems to be created (cannot be open nor deleted), when the file name given to export function is xs2png(0, "test : title.png")
for example.