add: support for variables in output path + filename variable

Added support for using variables in the output path.
Also added support for the %F variable (blend filename).