Fixing bugs and trying to get restore to run.

- Put fsync back
- Added checks for strncmp
- Added file cleanup in test_aol