Fixes FileCache.__contains__ and __iter__ when sync is on

Internal method _all_keys tried to to access _buffer which is only available
when sync is off.
Merge pull request #19 from soult/develop

FileCache._all_keys always tries to use _buffer