Initial plain file copy from XBMC 12.2