main.c: Put a slash at the end of the initial directory.

The file chooser requires this.