Bug: unable to handle paths with spaces. Thanks Sebastian Sastre for finding it :)