Add bash preferences and update fsync_files.cc to sync on parent dir.