use Gradle for building commons-file library

Change-Id: I2423487c7edd5ddb51af83c8d50db27e72b4bda0