we also should add this check then inside ``getContentAsStream``, as there a rewind is also done. Actually the rewind here is not needed for the phpcr File, just left it here to be sure.