FreeNAS test fix #4
Fix for OSError: [Errno 9] Bad file descriptor error, freebsd related
Merge remote-tracking branch 'upstream/dev' into dev