add the checks again.

removing these checks breaks when there is no data for any interval
fix exists check with compression
use same logic for compression

Use same logic for compression across creating files, reading from
files, and checking file existence
Merge pull request #527 from metamx/fix-empty-intervals

add filesystem checks again