monkey patch paperclip with a stat method
fix public_url generation
fix require path
call to put_file now generates missing directories