Make FileStore.options asynchronous

I also made mergeOptions() async and added optionsSync and
mergeOptionsSync.