fix up file viewer for files that php does not have permission to read