Revert "RECOVERY_AML/XBMC: Retain ownership and permissions when using sed"

This reverts commit 3f5b54c3acfd3e991b9d00870494cac809e8c637 and adds it as a patch for RedHat users