Fixed support for uploading images when hosting Popcorn on windows server.

Signed-off-by: ohanetz <o.hanetz@gmail.com>