Fixed file saving - made buffer image transient since non-serializable