Mechanical stress relief in porous silicon free standing membranes