Replace execSync/sips by image-size

More simple and no dependency with batch script
Fix idBasedOnFilenameCamelized for Windows (backslash case)