Image upload in MediaController fixed for Linux and Mac