Make wget abort if --post-file does not exist

Signed-off-by: Darshit Shah <darnir@gmail.com>
Add test to ensure correct return code on --post-file failure

Signed-off-by: Darshit Shah <darnir@gmail.com>