Add support for smallfiles config option.

Simply add support for the smallfiles config option.