Fix serialization of mail filesystem information for maildir compatibility