Sync fileutils from oslo-incubator

Implements: blueprint equivalent-pxe-driver

Change-Id: I2e3ea3e5cf0012a5eb8c75d8aabba0efd9f47257
Merge "Sync fileutils from oslo-incubator"