Merge pull request #36 from pneerincx/master

Small fixes for the data archiving workflow.
Polished Demultiplex.ftl by moving some repeating code into custom functions/subs.