Issue #312 - enforce filesystem limits

Closes #312