Fix a tiny bug in sampgdk_make_output_dir()