[ATFT] Change unit tests to use pyfakefs. Use pyfakefs for fake file system operation in the unit tests. Test: All unit tests still pass. Bug: None Change-Id: I9254290bfdf06a821ce1899fbff300d4fcaa4da2