Follow the new conventions for filename parameters.

   Not that this is likely to stay a proto mod, but...
Add precaution about realms ending in dot.

   Since we leave input construction up to the administrator to configure
   we cannot simply filter these automatically.