added proper header checks for extended attributes for ebftpd support