Fix for install errors 

This fixes two install errors (mkdir & limit)

https://github.com/pyrocms/pyrocms/issues/3183
https://github.com/pyrocms/pyrocms/issues/3168
https://github.com/pyrocms/pyrocms/issues/3161