Fix media directory location to be outside of wordpress root.