This function formats a filename string for a subdirectory under the BBS
prefix. The environment variables BBSPREFIX and PREFIX are
first checked, followed by the BBS prefix defined at compile time.
Parameters:
fmt - A printf()-like format string, followed by any necessary
parameters. The prefix will be automatically prepended to the format string
to form the fully qualified filename.