Add routine to define time frame to get updates via OAI PMH

* update flux to also write xml into filesystem