Properly trim whitespaces from the hashbang CGI interpreter path