Adjust output directory by uplevels

Adjusting the output directory by up levels will allow e.g. PDF and RTF
to generate output into the base output directory.