Couldn't create folders on FreeBSD 9.1 ZFS fileystems

Fixes bug #491.