added the ability to create tmp directories for rails