A few optimizations for FileDestination

- Collapsed all iterations over values into a single iteration
- Defined common regexp's once per object
Remove a few debug lines. Yields 4X increase in output speed.