Prevent invalid characters in file name
Options v 4.2 : Polyfill for color type