apparently something changed in snappy module
writing cache files works now!
removing snappy dependency as it didn't work for me (app just exited on compress call)