don't try to make file invisible if not on platform Darwin (i.e. Mac OS)