why does the java application/postgres output the id instead of omitting it in the first place?
It could be that the original files are used by other processes, and that they for some reason don't want to create two separate files. Maybe an issue with office politics (works on a different team), or an attempt at saving disk space
As it runs on windows, I might move it to linux and add sed or something in the chain, losing the php completely. But for now, php it is.