Haven't quite figured out how to solve this problem yet... but maybe this can help you?

aircrack-ng.org/doku.php?id=tools#convert