Nix apparently treats files appending with strings as files now. It always seemed to work until now, so I have circumvented it with some toString conversions