make fs calls sync

I had been using this to fix corruption issues because of race conditions when saving the same module multiple times, probably the inFlight fix takes care of that now, nevertheless this makes sure there aren't any but introduces sync.