fixed Synchrnous Sync so that it created neccessary dirs on the fly