Issue #312 - enforce filesystem limits

Closes #312
maybe we want to address this in a separate bug...it's not crucial right now