Escape username in SQL statements when creating DB

Without escaping, username containing a dash will cause a syntax error.

Based off of a older version of the rake task, because the refactored version did not seem to work :(