JPEGWriter writing metadata