Add the f argument to optparse to avoid segfault.

 Otherwise optarg is set to 0, and we segfault when we
 try to strcpy it.
Merge pull request #17 from paultag/paultag/bugfix/fix-optparse-format

Add the f argument to optparse to avoid segfault.