Fix metadata headers
Use metadata filename attribute to define download/metadata links