fix issue where extensions other than .dust would not work correctly