Define filebasename to fix timestamp undef bug (DMWMMON issue #9). Code now complies with strict pragma.