Add support for smallfiles config option.

Adds support for smallfiles option.

Closes #14.