Fixed vp_file_open() flags