Test for filemode regression.