[hacc] Add file extension magic.
[hacc] Improve file extension magic, allow saving