Fix images failing when they have spaces (Linux)