file upload fix (copy/past from defunkt/jquery-pjax)

#12