Fix for save_postview changes

- Add mode to file creation

Change-Id: I6100bae274798c7793ba1bf83af708a9c08e37a6