Revert "Change approach how to check whether directory is writable"
Revert "Change approach how to check whether directory is writable"

This reverts commit 594842a63e7729d514bd658a38d615b32190ac25.

This approach doesn't work for ACLs.

Change-Id: Ic04dc832c966c282fe728dbbd50783464d6a4d3a

stackforge/fuel-library,stackforge/fuel-library,stackforge/fuel-library,stackforge/fuel-library