Cleanup file permissions and extended attributes.