fix the zero byte fileview problem reported by Mohamad on the mailinglist