replace ghetto mime guessing with node-mime