[Hive] Fix incorrect permission causing tests to fail

Hive creates the scratch dir incorrectly and than complains about missing permissions.
The tests tries to address by creating the folder by hand on *nix/posix file systems.