fix incorrect permissions when reading tutorial file