fix bug where an exception during file saving causes corrupted files to be writen and break upon trying to read them
Merge branch 'master' of github.com:dwiel/functioncache