Adding a sync fix to ensure non-filesystem files can be synced