pvrparse: Don't write half AP files.

Access point file is written in total at the end of the recording.
Remove it if writing fails. Otherwise, it will make the recording
appear much shorter than it actually is.
Merge branch 'master' of git://git.code.sf.net/p/openpli/enigma2
Merge