Support image with query args

Before this patch if image path contains a & in the patch the
shell will consider it as a background command.
Merge pull request #7 from noplay/image_with_query_args

Support image with query args