HDFS-6912. SharedFileDescriptorFactory should not allocate sparse files (cmccabe)
(cherry picked from commit 8008f0e8191b1c7adbed96ed4c380208e3a37692)