Hacked bugfix in take()

Added handling of OSError for some hidden files which were getting
through, possibly due to cross-OS issues