Fix the -c, -m, -p and -w options of skoolimage.py