SENTRY-12: Write the policy file to hdfs when using UnmanagedHiveServer (Sravya Tirukkovalur via Shreepadma Venugopalan)