Fix fs.is_dir and fs.is_file detection on the Mac
Fix fs.is_dir and fs.is_file detection on the Mac

Fixes #1021.

tarantool/luarocks,keplerproject/luarocks,keplerproject/luarocks,keplerproject/luarocks,luarocks/luarocks,luarocks/luarocks,keplerproject/luarocks,luarocks/luarocks,tarantool/luarocks,tarantool/luarocks