Use statvfs instead of df to get available space

We should use Python's standard library if possible.

Change-Id: I923fe11aa7ffddef6f59970f889d3e7e58f4af68
Closes-Bug: 1386060