4f1a598
Create an utils module with most of the code so it can be shared Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>