First pass on fix for scalding minify

Not ready for merge.

Need to:

1. add tests
2. use this in scalding minify for TimePathedSource

@singhala