Instead of '%s/%s' % (site_folder, subfolder)
stuff one can also do the following
import posixpath
posixpath.join(site_folder, subfolder)
Link to the 'docs': https://docs.python.org/2/library/undoc.html#platform-specific-modules
Also, when fabric becomes Python 3 ready, it will be possible to use new pathlib module https://docs.python.org/3/library/pathlib.html#pathlib.PurePosixPath