finetuning: Fix quoting issue in command and buildenv_command.

Using quotes in command is not possible, because ' quotes were used to pass the command to /bin/sh. This is problematic if the command itself requires nested quotes.

To fix this the command is not passed as an commandline string but piped into the chrooted /bin/sh.